package Practice.Practice_01;

import java.util.Scanner;

public class demo02 {
    public static void main(String[] args){
        Scanner Grade = new Scanner(System.in);
        int grade = Grade.nextInt();
        if(grade >= 80 ){
            System.out.println("成绩优秀");
        } else if(grade >= 70 ){
            System.out.println("成绩中等");
        } else if(grade >= 60 ){
            System.out.println("成绩及格");
        } else{
            System.out.println("成绩不及格");
        }
        {
            int x = 0;
            int y = 1;
            int z;
            if(x > y){
                z = x;
            } else {
                z = y;
            }
            System.out.println("z=" +z);
        }
        {
            int x = 0;
            int y = 1;
            int z = x > y ? x : y;
            System.out.println("z=" +z);
        }
    }
}
